package com.qfedu.aunt.commons.service;

import com.qfedu.aunt.commons.dto.PermDTO;
import com.qfedu.aunt.commons.pojo.Perm;
import com.qfedu.aunt.commons.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-31
 */
public interface UserService extends IService<User> {
    /**
     * 通过req获取当前用户的菜单信息
     * @param req
     * @return
     */
    List<PermDTO> findMenuByToken(HttpServletRequest req);
}
